.instructors-container {
    background: linear-gradient(180deg, #fff 0%, rgba(183, 128, 254, 0.12) 100%);
}

.instructors-hero {
    background: var(--black);
    color: var(--secondary-color);
    text-align: center;
    padding: 4rem 1rem 3rem;
}

.instructors-hero h1 {
    font-family: "Roboto Mono", monospace;
    letter-spacing: 2px;
    font-size: 2.8rem;
    font-weight: 500;
}

.instructors-hero p {
    color: var(--white);
    max-width: 760px;
    margin: 1rem auto 0;
    font-size: 1.05rem;
}

.instructor-profile {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.instructor-profile.reverse {
    grid-template-columns: 1fr 380px;
}

.instructor-profile.reverse .instructor-image {
    order: 2;
}

.instructor-profile.reverse .instructor-content {
    order: 1;
}

.instructor-image {
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    object-position: center;
}

.instructor-content {
    background: rgba(255, 255, 255, 0.9);
    border-left: 6px solid var(--primary-color);
    border-radius: 14px;
    padding: 1.5rem 1.6rem;
}

.instructor-content h2 {
    font-family: "Roboto Mono", monospace;
    font-size: 2rem;
    line-height: 1;
}

.instructor-role {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 0.7rem 0 1rem;
}

.instructor-content p {
    margin-bottom: 0.9rem;
    color: #222;
    line-height: 1.65;
}

.instructor-links {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.instructor-links a {
    text-decoration: none;
    color: var(--black);
    background: var(--secondary-color);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.instructor-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.instructor-links .book-lesson-btn {
    background: var(--primary-color);
    color: var(--white);
}

.instructor-links .book-lesson-btn:hover {
    background: var(--black);
    color: var(--secondary-color);
}

@media (max-width: 900px) {
    .instructor-profile,
    .instructor-profile.reverse {
        grid-template-columns: 1fr;
    }

    .instructor-profile.reverse .instructor-image,
    .instructor-profile.reverse .instructor-content {
        order: initial;
    }

    .instructors-hero h1 {
        font-size: 2.1rem;
    }

    .instructor-profile {
        margin: 2rem auto;
        padding: 0 1rem;
        gap: 1.2rem;
    }
}
